package myTest.loopup.bean.test;

import myTest.loopup.bean.GetBeanTest;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * lookup-method 配置测试
 */
public class Main {

	public static void main(String[] args) {
		ApplicationContext bf = new ClassPathXmlApplicationContext("mytest/loopupTest.xml");
		GetBeanTest test = ((GetBeanTest) bf.getBean("getBeanTest"));
		test.showMe();
	}
}
